package homework01;


import constructor01.Person;

public class ProjectManager extends Employee01 {
    private double bonus;
    public ProjectManager(String name,String num,int salary,double bonus){
        super(name,num,salary);
        this.bonus = bonus;
        System.out.println("创建项目经理对象：" + name);
    }

    @Override
    public void work() {
        super.work();
        System.out.println("奖金：" + bonus + "元");
    }
}
